﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000B7B RID: 2939
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MonopolyConfirmRandomCsReq : IMessage<MonopolyConfirmRandomCsReq>, IMessage, IEquatable<MonopolyConfirmRandomCsReq>, IDeepCloneable<MonopolyConfirmRandomCsReq>, IBufferMessage
	{
		// Token: 0x1700251A RID: 9498
		// (get) Token: 0x0600837C RID: 33660 RVA: 0x0015E93C File Offset: 0x0015CB3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MonopolyConfirmRandomCsReq> Parser
		{
			get
			{
				return MonopolyConfirmRandomCsReq._parser;
			}
		}

		// Token: 0x1700251B RID: 9499
		// (get) Token: 0x0600837D RID: 33661 RVA: 0x0015E943 File Offset: 0x0015CB43
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MonopolyConfirmRandomCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700251C RID: 9500
		// (get) Token: 0x0600837E RID: 33662 RVA: 0x0015E955 File Offset: 0x0015CB55
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MonopolyConfirmRandomCsReq.Descriptor;
			}
		}

		// Token: 0x0600837F RID: 33663 RVA: 0x0015E95C File Offset: 0x0015CB5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyConfirmRandomCsReq()
		{
		}

		// Token: 0x06008380 RID: 33664 RVA: 0x0015E964 File Offset: 0x0015CB64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyConfirmRandomCsReq(MonopolyConfirmRandomCsReq other) : this()
		{
			this.eventId_ = other.eventId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008381 RID: 33665 RVA: 0x0015E989 File Offset: 0x0015CB89
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyConfirmRandomCsReq Clone()
		{
			return new MonopolyConfirmRandomCsReq(this);
		}

		// Token: 0x1700251D RID: 9501
		// (get) Token: 0x06008382 RID: 33666 RVA: 0x0015E991 File Offset: 0x0015CB91
		// (set) Token: 0x06008383 RID: 33667 RVA: 0x0015E999 File Offset: 0x0015CB99
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint EventId
		{
			get
			{
				return this.eventId_;
			}
			set
			{
				this.eventId_ = value;
			}
		}

		// Token: 0x06008384 RID: 33668 RVA: 0x0015E9A2 File Offset: 0x0015CBA2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MonopolyConfirmRandomCsReq);
		}

		// Token: 0x06008385 RID: 33669 RVA: 0x0015E9B0 File Offset: 0x0015CBB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MonopolyConfirmRandomCsReq other)
		{
			return other != null && (other == this || (this.EventId == other.EventId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008386 RID: 33670 RVA: 0x0015E9E0 File Offset: 0x0015CBE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.EventId != 0U)
			{
				num ^= this.EventId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008387 RID: 33671 RVA: 0x0015EA1F File Offset: 0x0015CC1F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008388 RID: 33672 RVA: 0x0015EA27 File Offset: 0x0015CC27
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008389 RID: 33673 RVA: 0x0015EA30 File Offset: 0x0015CC30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.EventId != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.EventId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600838A RID: 33674 RVA: 0x0015EA64 File Offset: 0x0015CC64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.EventId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.EventId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600838B RID: 33675 RVA: 0x0015EAA2 File Offset: 0x0015CCA2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MonopolyConfirmRandomCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.EventId != 0U)
			{
				this.EventId = other.EventId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600838C RID: 33676 RVA: 0x0015EAD3 File Offset: 0x0015CCD3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600838D RID: 33677 RVA: 0x0015EADC File Offset: 0x0015CCDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 64U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.EventId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04003251 RID: 12881
		private static readonly MessageParser<MonopolyConfirmRandomCsReq> _parser = new MessageParser<MonopolyConfirmRandomCsReq>(() => new MonopolyConfirmRandomCsReq());

		// Token: 0x04003252 RID: 12882
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003253 RID: 12883
		public const int EventIdFieldNumber = 8;

		// Token: 0x04003254 RID: 12884
		private uint eventId_;
	}
}
